
cmake_minimum_required(VERSION 3.0)
project(MyOpenCVProject)

set(OpenCV_DIR "/home/gavgv/OpenCV4/lib/cmake/opencv4")
find_package(OpenCV REQUIRED)

add_executable(SeparateChannels main.cpp)
target_link_libraries(SeparateChannels ${OpenCV_LIBS})
